<?php

namespace app\api\validate;
use think\Validate;

class Equipment extends Validate{

	protected $rule = array(
        'title' => 'require|max:100',
        'mac' => 'require|length:17|unique:equipment',
        'status' => 'in:0,1',
	);
}